﻿@model tutors_clus.Models.annoucement

@{
    ViewBag.Title = Model.title_ann;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="Breadcrumb">
    <ul>
        <li><a class="home" href="#"></a></li>
        <li><a href="#">Thông báo</a></li>
        <li>@Model.title_ann</li>
    </ul>
</div>
<div class="news_detail">
    <div class="title_new_anno">
        <p>@Model.title_ann</p>
    </div>
    <div class="detail_new_anno">
        <p>@Model.create_date_ann</p>
        <div>@MvcHtmlString.Create(Model.detail_ann)</div>
        <div class="author">Theo @Model.writer_ann</div>
        <div class="clear"></div>
        <div class="file_att">
            <a href="~/Content/FileUpload_annou/@Model.file_attach_ann">@Model.file_attach_ann</a>
        </div>
    </div>
</div>
    @if (@ViewBag.count > 0) 
    {
    <div class="other_news_anno">
        <h2>Tin cũ hơn: </h2>
        <ul>

            @foreach (var item in  @ViewBag.list)
                {

                <li><a href="@Url.Action("Annoucement", new { id=@item.id_ann})">@item.title_ann</a><i>(@item.create_date_ann)</i></li>
                }
        </ul>
    </div>
      }
    @Html.ActionLink("Quay lại danh sách thông báo", "Annoucements")

@*<fieldset>
    <legend>annoucement</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.title_ann)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.title_ann)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.create_date_ann)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.create_date_ann)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.file_attach_ann)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.file_attach_ann)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.writer_ann)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.writer_ann)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.detail_ann)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.detail_ann)
    </div>
</fieldset>*@

